<%--
  Created by IntelliJ IDEA.
  User: srq
  Date: 2021/5/12
  Time: 21:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>loginout</title>
</head>
<body>


<%

    //清楚session记录
    session.removeAttribute("userName");
    //重新将页面转到登录页面
    response.sendRedirect("index.jsp");

%>

</body>
</html>
